home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / GX Libraries / QDGXMovieLibrary.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-02  |  874 b   |  48 lines  |  [TEXT/MPS ]

  1.  
  2. /*
  3.     File:        QDGXMovieLibrary.h
  4.  
  5.     Contains:    graphics libraries - GX movies
  6.  
  7.     Written by:    Mike Reed
  8.  
  9.     Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  10.  
  11.     Change History (most recent first):
  12.  
  13.          <1>      5/2/95    jtd        First checked in.
  14.  
  15. */
  16.  
  17. #ifndef __QDGXMovieLibrary__
  18. #define __QDGXMovieLibrary__
  19.  
  20. #include <Movies.h>
  21. #include <ImageCompression.h>
  22. #include <GXTypes.h>
  23.  
  24. #ifdef __cplusplus
  25.     extern "C" {
  26. #endif
  27.  
  28. typedef struct {
  29.     ImageDescriptionHandle    description;
  30.  
  31.     Movie                movie;
  32.     Track                track;
  33.     Media                media;
  34.  
  35.     FSSpec                movieDataSpec;
  36.     short                resourceRefNum;
  37. } QDGXRecorder;
  38.  
  39. void InitializeQDGXRecorder(QDGXRecorder *mr, const FSSpec* spec, Fixed width, Fixed height);
  40. void AddQDGXRecorderFrame(QDGXRecorder *mr, gxShape source, long duration, Boolean eraseBackground);
  41. void TerminateQDGXRecorder(QDGXRecorder *mr);
  42.  
  43. #ifdef __cplusplus
  44.     }
  45. #endif
  46.  
  47. #endif
  48.